package com.tang.campus_market;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication

//扫描带@WebFilter、@WebServlet、@WebListener的类，并将其注入bean
@ServletComponentScan

//dao层扫描
@MapperScan("com.tang.campus_market.dao")
public class CampusMarketApplication {

    public static void main(String[] args) {
        SpringApplication.run(CampusMarketApplication.class, args);
    }

}
